package com.amazonaws.services.iot.client.sample.pubSub;

public class JustTest {
	public static void main(String args[]) {
	    String s = "ffgg15524:DD188";
    	String str=s.trim();
    	String str2="";
    	if(str != null && !"".equals(str)){
    		for(int i=0;i<str.length();i++){
    			if(str.charAt(i)>=48 && str.charAt(i)<=57){
    				str2+=str.charAt(i);
    	
    			}
    		}

    	}
    	for(int a = 0; str2  != null ;a++) {
    		int i = 1;
    		i = i+1;
    		System.out.println(i);
    		break;
    		
    	}
    	
    	System.out.println(  Integer.parseInt(str2));
	}
}

